﻿namespace EyeOpen.IO
{
	using System;

	public interface IChannel 
		: IDisposable
	{
		event EventHandler Received;

		string Address { get; }

		ChannelState State { get; }

		ChannelType Type { get; }

		void OpenChannel();

		void CloseChannel();

		void Send(string message);
	}
}